home *** CD-ROM | disk | FTP | other *** search
- ;Pages Example
- ;(C)1992/93, Stefan Stuntz
- ;Blitz Basic 2 Version (C)1997/98 by Vivid Imagination
-
- WBStartup
-
- Dim PageName$(4)
-
- PageName$(0)="Race"
- PageName$(1)="Class"
- PageName$(2)="Armour"
- PageName$(3)="Level"
-
- MUIApplicationTitle "Pages-Demo"
- MUIApplicationVersion "$VER: Pages-Demo 17.6 (18.08.96)"
- MUIApplicationCopyright "(c)1992/93, Stefan Stuntz"
- MUIApplicationAuthor "Stefan Stuntz"
- MUIApplicationDescription "Show MUIs Page Groups"
- MUIApplicationBase "PAGESDEMO"
-
- MUILabel 0,"Name:",#MUIO_Label_SingleFrame
- MUIString 1,"Frodo",32
-
- MUIAddObjsHGroup 4,0,1
-
- MUILabel 2,"Sex:",#MUIO_Label_DoubleFrame
- MUICycle 3,"Male","Female"
-
- MUIAddObjsHGroup 4,2,3
-
- MUIAddTags 4,#MUIA_Group_Columns,2
- MUICreateHGroup 4
-
- MUIRadio 5,"","Human","Elf","Dwarf","Hobbit","Gnome"
-
- MUIAddTags 27,#MUIA_Register_Frame,1
-
- MUIRadio 6,"","Warrior","Rouge","Bard","Monk","Magician","Archmage"
-
-
- MUILabel 7,"Cloak:",#MUIO_Label_SingleFrame
- MUICheckMark 8,1
-
- MUILabel 9,"Sheild:",#MUIO_Label_SingleFrame
- MUICheckMark 10,1
-
- MUILabel 11,"Gloves:",#MUIO_Label_SingleFrame
- MUICheckMark 12,1
-
- MUILabel 13,"Helmet:",#MUIO_Label_SingleFrame
- MUICheckMark 14,1
-
- MUIAddObjsHGroup 15,7,8,9,10,11,12,13,14
-
- MUIAddTags 15,#MUIA_Group_Columns,2
- MUICreateHGroup 15
-
- MUILabel 16,"Experience:",0
- MUISlider 17,0,100,3
-
- MUILabel 18,"Strength:",0
- MUISlider 19,0,100,42
-
- MUILabel 20,"Dexterity:",0
- MUISlider 21,0,100,24
-
- MUILabel 22,"Condition:",11
- MUISlider 23,0,100,39
-
- MUILabel 24,"Intelligence:",0
- MUISlider 25,0,100,74
-
- MUIAddObjsVGroup 26,16,17,18,19,20,21,22,23,24,25
-
- MUIAddTags 26,#MUIA_Group_Columns,2
- MUICreateVGroup 26
-
- MUIAddObjsPage 27,5,6,15,26
- MUICreatePage 27,"Race","Class","Armour","Level"
-
- MUIAddObjsVGroup 28,4,27
- MUICreateVGroup 28
-
- MUICreateWindow 30,"Character Definition","PAGE",28
- MUIAddSubWindow 30
-
- If MUICreateApplication<>True Then End
-
- MUINotifyApp 30,#MUIA_Window_CloseRequest,1,-1
-
- MUIOpenWindow 30
-
- Repeat
- ev.l=MUIWaitEvent
- Until ev=-1
-
- MUICloseWindow 30
-
- End
-